package com.lazy.core.entity;

import lombok.Data;

import javax.persistence.*;

@Table(name = "authority_user")
@Data
public class AuthorityUser {
    /**
     * id
     */
    @Id
    private Long id;

    /**
     * 企业邮箱
     */
    @Column(name = "user_email")
    private String userEmail;

    /**
     * 真实姓名
     */
    @Column(name = "real_user_name")
    private String realUserName;

    /**
     * 登录密码
     */
    @Column(name = "user_pwd")
    private String userPwd;

    /**
     * 业务员手机
     */
    @Column(name = "user_phone")
    private String userPhone;

    /**
     * 状态，是否启用；1=启用 2=停用
     */
    private Byte status;

    /**
     * 角色id
     */
    @Column(name = "role_id")
    private Long roleId;

    /**
     * 机构id
     */
    @Column(name = "dept_id")
    private Long deptId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private String updateTime;
}